-- GENERATED SPELL FOR [Twiggy Flathead] --


function spell0_6248(pUnit, Event) --@Send Fray Combatant,n/a--
pUnit:FullCastSpellOnTarget(8645,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6248', 645, 1)
end

function Sorts_6248(pUnit, Event)
local choix_sorts_6248 = math.random(0, 0)
if choix_sorts_6248 == 0 then
pUnit:RegisterEvent('spell0_6248', 1, 1)
end
end

function mob6248_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6248', math.random(1500, 3000), 1)
end

function mob6248_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6248_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6248_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6248, 1, 'mob6248_Action')
RegisterUnitEvent(6248, 2, 'mob6248_Leave')
RegisterUnitEvent(6248, 3, 'mob6248_Kill')
RegisterUnitEvent(6248, 4, 'mob6248_Die')
